package dblayer;

import java.util.ArrayList;

import modellayer.Sale;

public interface IFDBSale {

	public ArrayList<Sale> getAllSales();
	
	public Sale searchByID(int id);
	public Sale searchByDate(String date);
	
	public int insertSale(Sale sale) throws Exception;
	
	public int updateSale(Sale sale);
	
	public int deleteSale(int id);
}
